Skip to content

Conversation

@crueter
Copy link
Contributor

@crueter crueter commented Dec 25, 2025

Previously, changes to externals were also tracked, resulting in
absolutely hilarious abominations like https://github.com/FEX-Emu/FEX/actions/runs/20498228017/job/58901276463?pr=5162

So rather than dealing with that weird action, just fetch the main
branch and run a diff --name-only with the PR's merge base with main.
This is how I've done several dozen diff-based scripts (license headers,
clang-format, etc) and it works perfectly, so let's just use this.
Should run quicker too but don't put any money on it.

I also went ahead and removed a bunch of unnecessary quotations cuz
wynaut.

Signed-off-by: crueter [email protected]

@crueter crueter force-pushed the fix-pr-format branch 2 times, most recently from fe9027a to bfba335 Compare December 25, 2025 21:00
@Sonicadvance1 Sonicadvance1 requested a review from pmatos December 25, 2025 21:10
@crueter
Copy link
Contributor Author

crueter commented Dec 27, 2025

did some final cleanups, should be good now

@crueter crueter changed the title [ci] fix pr-code-format CI: fix pr-code-format Jan 5, 2026
@neobrain
Copy link
Member

neobrain commented Jan 9, 2026

@pmatos Could you take a look at this?

@pmatos
Copy link
Collaborator

pmatos commented Jan 9, 2026

@pmatos Could you take a look at this?

Yep. Give me a couple of hours.

Previously, changes to externals were also tracked, resulting in
absolutely hilarious abominations like https://github.com/FEX-Emu/FEX/actions/runs/20498228017/job/58901276463?pr=5162

So rather than dealing with that weird action, just fetch the main
branch and run a `diff --name-only` with the PR's merge base with main.
This is how I've done several dozen diff-based scripts (license headers,
clang-format, etc) and it works perfectly, so let's just use this.
Should run quicker too but don't put any money on it.

I also went ahead and removed a bunch of unnecessary quotations cuz
wynaut.

Signed-off-by: crueter <[email protected]>
@pmatos
Copy link
Collaborator

pmatos commented Jan 15, 2026

@crueter looks good. this is hard to test locally. Lets hope it holds up in practice. Thanks.

@pmatos
Copy link
Collaborator

pmatos commented Jan 15, 2026

@crueter you might have to re-request a review so I can formally approve it. Weird github flow.

@crueter
Copy link
Contributor Author

crueter commented Jan 15, 2026

augahahhhhaghha

@crueter crueter requested a review from pmatos January 15, 2026 14:01
Copy link
Member

@Sonicadvance1 Sonicadvance1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well if @pmatos says it's okay, then sure, let's see if it works.

@Sonicadvance1 Sonicadvance1 merged commit 14667c1 into FEX-Emu:main Jan 15, 2026
13 checks passed
@crueter crueter deleted the fix-pr-format branch January 15, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants